package com.woniu.uums.controller;

import com.woniu.common.utils.ResponseData;
import com.woniu.uums.service.ZsbMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/menu")
public class ZsbMenuController {

    @Autowired
    private ZsbMenuService zsbMenuService;

    @RequestMapping("/queryAllMenu")
    public ResponseData<?> queryAllMenu(){
        return zsbMenuService.queryAllMenu();
    }
}
